package cn.mysource.basic.controller;

import cn.mysource.basic.vo.EchartVo;
import cn.mysource.org.service.IShopService;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/echart")
public class EchartController {



    @Autowired
    private IShopService shopService;
    @GetMapping
    public EchartVo echart(){
        return shopService.echart()

    }

}
